﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;

namespace UnitSoftware.LINQ2SQLExtentions
{
    public class EntityOperationEventArgs<TEntity> : EntityTypeOperationEventArgs
    {
        public readonly TEntity Entity;

        public EntityOperationEventArgs(TEntity entity, Operation entityOperation, DataContext context) : base(entityOperation, typeof(TEntity), context)
        {
            Entity = entity;
        }       
    }
}
